require('./env.js')
require('./module.js')

// url_ffix = '/api/sns/web/v1/homefeed';
// data = {
//     "cursor_score": "",
//     "num": 18,
//     "refresh_type": 1,
//     "note_index": 18,
//     "unread_begin_note_id": "",
//     "unread_end_note_id": "",
//     "unread_note_count": 0,
//     "category": "homefeed_recommend",
//     "search_key": "",
//     "need_num": 8,
//     "image_formats": [
//         "jpg",
//         "webp",
//         "avif"
//     ],
//     "need_filter_image": false
// }

function get_xs(url,data) {
    var xs = window._webmsxyw(url, data)
    xss=xs['X-s']
    xtt=xs['X-t']
    data={
        xss:xss,
        xtt:xtt,
    }
    console.log(data.xss.length)
    return data
}

// console.log(get_xs(url_ffix, data))
